home *** CD-ROM | disk | FTP | other *** search
- Path: csdec1.tuwien.ac.at!ekogler
- From: ekogler@csdec1.tuwien.ac.at (Edgar Kogler)
- Newsgroups: comp.lang.c
- Subject: ?? Meaning of errno 25 ENOTTY with system()
- Date: 3 Apr 1996 12:19:04 GMT
- Organization: Technische UniversitΣt Wien, Vienna, Austria
- Distribution: local
- Message-ID: <4jtqbo$oao@news.tuwien.ac.at>
- Reply-To: ekogler@logic.tuwien.ac.at
- NNTP-Posting-Host: csdec1.tuwien.ac.at
-
- In my program I use the following:
-
- strcpy(message,"mail -s \"Subject\" to_me < /abs/file/path/message"
- system(message);
-
- I get the error
-
- 25, ENOTTY, Not a Typewriter
- The file named in an ioctl call is not a terminal or one of the other devices
- to which the call applies.
-
- Copied the string to the terminal and executed, evrythg is fine.
- Does anyone know this problem?
-
- Please <reply> to this message.
-
- Edgar
-